/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Char;

/**
 *
 * @author djdracku
 */
public class MetodosChar {
    public static void main(String args[]){
     char a[]={'h','o','l','a','m','u','n','d','o'};
        String b=new String(a);
        System.out.println(b);

        byte c[]={65,66,67,68};
        String d=new String(c,1,2);
        System.out.println(d);



        System.out.println(b.endsWith("od"));

        System.out.println(b.lastIndexOf('n'));
        Character re=new Character('a');
        System.out.println(re.toUpperCase(re));

        Character de=new Character('a');
        System.out.println(de.equals(de));

        Character te=new Character('a');
        System.out.println(te.isWhitespace(de));

        Character fd=new Character('a');
        System.out.println(fd.toString());

        Character ca=new Character('a');
        System.out.println(ca.reverseBytes(ca));
        // el char invierte los bits

         Character sa=new Character('a');
        System.out.println(sa.toLowerCase(sa));
       //te devuelve como lo introducistes




    }

}
